﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_console/_console.Master" AutoEventWireup="true" CodeBehind="usergroup-list.aspx.cs" Inherits="SmartSpace.WebApp._console.core.usergroup_list" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
    user group list
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <a href="./usergroup-add.aspx">add</a>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <div class="form">
        <asp:Repeater ID="_ctlListUserGroup" runat="server">
            <HeaderTemplate>
                <table>
                    <tr>
                        <th>-
                        </th>
                        <th>Name
                        </th>
                        <th>Caption
                        </th>
                        <th>-
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:CheckBox ID="_ctlCheckId" runat="server" />
                        <asp:HiddenField ID="_ctlHiddenId" runat="server" Value='<%# Eval("Id") %>' />
                    </td>
                    <td>
                        <a href="./usergroup-user-list.aspx?id=<%# Eval("Id") %>"><%# Eval("Name") %></a>
                    </td>
                    <td>
                        <%# Eval("Caption") %>
                    </td>
                    <td>
                        <a href="./usergroup-privilege-assign.aspx?id=<%# Eval("Id") %>">privilege</a>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
